

/**
  * @brief  DOGE_uDelay
  *         This function provides delay time in micro sec
  * @param  usec : Value of delay required in micro sec
  * @retval None
  */
void DOGE_uDelay (const uint32_t usec)
{
	uint32_t count = 0;
	const uint32_t utime = (120 * usec / 7);
	do
	{
		if ( ++count > utime )
		{
		  return ;
		}
	}
	while (1); 
}


/**
  * @brief  DOGE_mDelay
  *          This function provides delay time in milli sec
  * @param  msec : Value of delay required in milli sec
  * @retval None
  */
void DOGE_mDelay (const uint32_t msec)
{
	DOGE_uDelay(msec * 1000);    
}